package edu.hwadee.entity;

/**
 * Companybank entity. @author MyEclipse Persistence Tools
 */

public class Companybank implements java.io.Serializable {

	// Fields

	private Integer companyBankId;
	private Company companyByCompanyId;
	private Company companyByBank;
	private String bankNumber;

	// Constructors

	/** default constructor */
	public Companybank() {
	}

	/** minimal constructor */
	public Companybank(Integer companyBankId) {
		this.companyBankId = companyBankId;
	}

	/** full constructor */
	public Companybank(Integer companyBankId, Company companyByCompanyId, Company companyByBank, String bankNumber) {
		this.companyBankId = companyBankId;
		this.companyByCompanyId = companyByCompanyId;
		this.companyByBank = companyByBank;
		this.bankNumber = bankNumber;
	}

	// Property accessors

	public Integer getCompanyBankId() {
		return this.companyBankId;
	}

	public void setCompanyBankId(Integer companyBankId) {
		this.companyBankId = companyBankId;
	}

	public Company getCompanyByCompanyId() {
		return this.companyByCompanyId;
	}

	public void setCompanyByCompanyId(Company companyByCompanyId) {
		this.companyByCompanyId = companyByCompanyId;
	}

	public Company getCompanyByBank() {
		return this.companyByBank;
	}

	public void setCompanyByBank(Company companyByBank) {
		this.companyByBank = companyByBank;
	}

	public String getBankNumber() {
		return this.bankNumber;
	}

	public void setBankNumber(String bankNumber) {
		this.bankNumber = bankNumber;
	}

}